package com.aiyige.page.my.message.event;

public class EventRefreshCommunicatePageChildren {
    public static final int TYPE_INTERACT = 1;
    public static final int TYPE_CONTACT = 2;
    int type;

    public EventRefreshCommunicatePageChildren() {
    }

    private EventRefreshCommunicatePageChildren(Builder builder) {
        setType(builder.type);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }


    public static final class Builder {
        private int type;

        private Builder() {
        }

        public Builder type(int val) {
            type = val;
            return this;
        }

        public EventRefreshCommunicatePageChildren build() {
            return new EventRefreshCommunicatePageChildren(this);
        }
    }
}
